package com.wangzeqi.changliaoba.base;

import android.content.Context;
import android.util.Log;

/**
 * Created by dllo on 16/2/29.
 */
public class LogBase {
    private Context context;

    Boolean k = true;

    public LogBase(Context context) {
        this.context = context;

    }

    public void i(String name, String resourceBundleName) {
        if (k){
            Log.i(name, resourceBundleName);
        }  else {
            return;
        }
    }
    public void d(String name, String resourceBundleName) {
        if (k){
            Log.d(name, resourceBundleName);
        }  else {
            return;
        }
    }
    public void v(String name, String resourceBundleName) {
        if (k){
            Log.v(name, resourceBundleName);
        }  else {
            return;
        }
    }
    public void w(String name, String resourceBundleName) {
        if (k){
            Log.w(name, resourceBundleName);
        }  else {
            return;
        }
    }
    public void e(String name, String resourceBundleName) {
        if (k){
            Log.e(name, resourceBundleName);
        }  else {
            return;
        }
    }
}
